package cn.chuanw.wx.web;

import cn.chuanw.core.util.ResponseUtil;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: wangkun
 * @Date: 2021/8/13 13:47
 * @Description: 微信相关接口
 **/
@RestController
@RequestMapping("/wx/test")
@Validated
public class WxSysController {

    @RequestMapping(value = "/generateUrlLink", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
    @ApiOperation(value = "生成小程序链接", notes = "生成小程序链接")
    public Object generateUrlLink(@RequestParam(value = "page", required = false) String page) {
        return ResponseUtil.ok();
    }
}
